From a571e534912fc22ee63570f9685170f7dde4c562 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Wed, 21 Dec 2016 18:16:34 +0100 Subject: [PATCH] snapshot: Fix some annoations --- gtk/gtksnapshot.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gtk/gtksnapshot.c b/gtk/gtksnapshot.c index 9c9161b76c..d85a43d21f 100644 --- a/gtk/gtksnapshot.c +++ b/gtk/gtksnapshot.c @@ -165,7 +165,6 @@ gtk_snapshot_finish (GtkSnapshot *snapshot) * @keep_coordinates: If %TRUE, the current offset and clip will be kept. * Otherwise, the clip will be unset and the offset will be reset to * (0, 0). - * @bounds: the bounds for the new node * @name: (transfer none): a printf() style format string for the name for the new node * @...: arguments to insert into the format string * @@ -540,7 +539,7 @@ gtk_snapshot_push_shadow (GtkSnapshot *snapshot, * Removes the top element from the stack of render nodes, * making the node underneath the current node again. * - * Returns: (transfer full) (allow none): A #GskRenderNode for + * Returns: (transfer full) (nullable): A #GskRenderNode for * the contents that were rendered to @snapshot since * the corresponding gtk_snapshot_push() call * @@ -632,8 +631,8 @@ gtk_snapshot_translate_2d (GtkSnapshot *snapshot, /** * gtk_snapshot_get_offset: * @snapshot: a #GtkSnapshot - * @x: (out allow-none): return location for x offset - * @y: (out allow-none): return location for y offset + * @x: (out) (optional): return location for x offset + * @y: (out) (optional): return location for y offset * * Queries the offset managed by @snapshot. This offset is the * accumulated sum of calls to gtk_snapshot_translate_2d(). -- 2.30.2